package com.funtl.hello.spring.cloud.web.admin.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author zhan
 * @since 2019-09-17 11:29
 */
@SpringBootApplication
@EnableFeignClients         //fegin客户端
@EnableDiscoveryClient      //寻找eureka
//@EnableHystrix
@EnableHystrixDashboard
public class WebAdminFeginApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebAdminFeginApplication.class, args);
    }
}
